package com.ruoyi.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xy
 * @version 1.0
 * @description:
 * @date 2024/7/3 15:13
 */
@ApiModel(value = "WeekElecInfoVo", description = "用户每周用电量信息")
@Data
public class WeekElecInfoVo {

    /**
     * 年份
     */
    @ApiModelProperty(value = "年份", notes = "数据记录的年份", example = "2024", required = true)
    private int year;

    /**
     * 周数
     */
    @ApiModelProperty(value = "周数", notes = "数据记录的周数", example = "20", required = true)
    private int week;

    /**
     * 用电量
     */
    @ApiModelProperty(value = "用电量", notes = "用户在一周内的总用电量（单位：千瓦时）", example = "200", required = true)
    private Long totalUsage;
}
